package com.example.kaogong.sys.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @description: 课程讨论前端视图对象
 * @author: 徐文升
 * @create: 2022-04-11 16:58
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "CourseCommentVo", description = "课程讨论前端视图对象")
public class CourseCommentVo {
    @ApiModelProperty(value = "讨论编号")
    private Integer commentId;

    @ApiModelProperty(value = "评论用户名")
    private String username;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "用户姓名", notes = "指明对哪个用户进行回复")
    private String targetUser;

    @ApiModelProperty(value = "发表时间")
    private LocalDateTime postTime;

    @ApiModelProperty(value = "点赞数")
    private Integer like;

    @ApiModelProperty(value = "回复数")
    private Integer count;
}
